package com.nclg.exam.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UpdatePaperDto {

    private Long pId;

    private String pName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pBegintime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pEndtime;

    private Integer pDuration;

}
